﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace huaxin_Model.DTO
{
    public class Product
    {
        public int id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 型号，多个型号用逗号（,）隔开
        /// </summary>
        public string model { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string describe { get; set; }
        /// <summary>
        /// 排序，数值越大，排位越前
        /// </summary>
        public int orderby { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal price { get; set; }
        /// <summary>
        /// 分成收益
        /// </summary>
        public decimal profit { get; set; }
        /// <summary>
        /// 状态  0未启用，1已启用
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime adddate { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updatedate { get; set; }
        
    }

    public class Models
    {
        public int id { get; set; }
        public string sku { get; set; }
        public decimal price { get; set; }
    }
}
